package com.newland.esp.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @param
 * @author lw
 * @descripe
 * @date 2021/8/13 21:11
 * @Version 1.0
 **/
@Data
@TableName("star")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

//    @TableId(value = "id",type = IdType.AUTO)
//    private Integer id;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @TableField("name")
    private String name;
    @TableField("age")
    private Integer age;

}
